<script setup lang="ts">
// Default layout component
</script>

<template>
  <div class="layout">
    <header>
      <h1>企业管理后台</h1>
    </header>
    <main>
      <router-view />
    </main>
    <footer>
      <p>&copy; 2025 企业管理系统</p>
    </footer>
  </div>
</template>

<style scoped>
.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #409eff;
  color: white;
  padding: 1rem;
}

main {
  flex: 1;
  padding: 1rem;
}

footer {
  background-color: #f5f5f5;
  padding: 1rem;
  text-align: center;
}
</style>